<template>
  <div>
    <h2>欢迎进入后台管理系统</h2>
    <el-row :gutter="20">
      <el-col :span="6"><el-card>用户数：{{ stats.users }}</el-card></el-col>
      <el-col :span="6"><el-card>问诊数：{{ stats.inquiry }}</el-card></el-col>
      <el-col :span="6"><el-card>健康检测：{{ stats.healthcheck }}</el-card></el-col>
      <el-col :span="6"><el-card>慢病管理：{{ stats.chronic }}</el-card></el-col>
    </el-row>
  </div>
</template>
<script setup>
import { ref, onMounted } from 'vue'
const stats = ref({ users: 0, inquiry: 0, healthcheck: 0, chronic: 0 })
onMounted(() => { /* 可调用统计接口赋值 */ })
</script> 